package com.jxsr.forest.util;

import com.dtflys.forest.annotation.Body;
import com.dtflys.forest.annotation.Get;
import com.dtflys.forest.annotation.Post;
import com.dtflys.forest.annotation.Var;
import com.jxsr.forest.vo.Result;

/**
 * @Description :
 * @Author : Bruce Lee
 * @CreateTime : 2024/12/6
 */

public interface Client {

    @Get(url = "http://172.31.16.41:28081/zhsh/thirdParty/Xinjiang/getDeviceLocation/{deviceId}")
    Result getRealTimeLocation(@Var("deviceId") String deviceId);


    @Post(
            url = "http://172.31.16.41:28081/zhsh/thirdParty/Xinjiang/getUserInfo",
            headers = {"Content-Type: application/json"}
    )
    Result getUserInfo(@Body("number") String number);


}
